package ru.rchervot.sanasar.client.view;

import com.google.gwt.user.client.ui.HTML;



public class ContentReportsView extends AbstractContentView implements ContentReportsPresenter.Display {

	public ContentReportsView() {
		super();
		
		basePanel.add(new HTML("ContentReportsView"));
	}
	
	@Override
	public void onWindowResized(int width, int height) {
		int scrollerHeightResults = height
		- Constants.kHeaderHeight
		- Constants.kModuleHeaderHeight;
		
		if (scrollerHeightResults < 1) scrollerHeightResults = 1;
		
		basePanel.setHeight(scrollerHeightResults + "px");
	}

}
